-
A view controller that displays the current maneuver instruction as a “banner” flush with the edges of the containing view. The user swipes to one side to preview a subsequent maneuver.
This class is the default top banner view controller used by
See moreNavigationOptions
andNavigationViewController
.InstructionsCardViewController
provides an alternative, user notification–like interface.Declaration
Swift
open class TopBannerViewController : UIViewController
extension TopBannerViewController: NavigationComponent
extension TopBannerViewController: InstructionsBannerViewDelegate
extension TopBannerViewController: StepsViewControllerDelegate
extension TopBannerViewController: CarPlayConnectionObserver
extension TopBannerViewController: NavigationStatusPresenter
extension TopBannerViewController: NavigationMapInteractionObserver
-
TopBannerViewControllerDelegate
provides methods for reacting to the user interactions withTopBannerViewController
. Such interactions include:InstructionsBannerView
swiping to the left, right, top and bottom.StepTableViewCell
selection.- Display or dismissal of
StepsViewController
, which shows list of remaining legs and steps.
Declaration
Swift
public protocol TopBannerViewControllerDelegate : VisualInstructionDelegate
-
A view controller that displays the current maneuver instruction as a “card” resembling a user notification. A subsequent maneuver is always partially visible on one side of the view; swiping to one side reveals the full maneuver.
This class is an alternative to the more traditional banner interface provided by the
See moreTopBannerViewController
class. To useInstructionsCardViewController
, create an instance of it and pass it into theNavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:)
method.Declaration
Swift
open class InstructionsCardViewController : UIViewController
extension InstructionsCardViewController: UICollectionViewDelegate
extension InstructionsCardViewController: UICollectionViewDataSource
extension InstructionsCardViewController: UICollectionViewDelegateFlowLayout
extension InstructionsCardViewController: NavigationComponent
extension InstructionsCardViewController: InstructionsCardContainerViewDelegate
extension InstructionsCardViewController: NavigationMapInteractionObserver
-
A container view for the information currently displayed in
See moreInstructionsCardViewController
.Declaration
Swift
public class InstructionsCardContainerView : StylableView, InstructionsCardContainerViewDelegate
-
The
See moreInstructionsCardContainerViewDelegate
protocol defines methods that allow an object to customize presented visual instructions within the instructions container view.Declaration
Swift
public protocol InstructionsCardContainerViewDelegate : VisualInstructionDelegate
-
A banner view that contains the current step instruction and responds to tap and swipe gestures.
This class responds and gets updated as the user progresses along a route according to the
See moreNavigationComponent
andBaseInstructionsBannerView
protocol.Declaration
Swift
@IBDesignable open class InstructionsBannerView : BaseInstructionsBannerView, NavigationComponent
-
See moreInstructionsBannerViewDelegate
provides methods for reacting to user interactions inInstructionsBannerView
.Declaration
Swift
public protocol InstructionsBannerViewDelegate : VisualInstructionDelegate
-
A banner view that contains the current step instruction along a route and responds to tap and swipe gestures, as the base of
See moreInstructionsCardView
andInstructionsBannerView
.Declaration
Swift
open class BaseInstructionsBannerView : UIControl
-
A view that contains a simple image indicating a type of maneuver.
See moreDeclaration
Swift
@IBDesignable open class ManeuverView : UIView
-
A junction view shows an image depicting the layout of a highway junction.
As the user approaches certain junctions, an enlarged illustration of the junction appears in this view to help the user understand a complex maneuver. A junction view only appears when the relevant data is available.
See moreDeclaration
Swift
public class JunctionView : UIImageView
-
GenericRouteShield
is a class to render routes that do not have route-shields.Declaration
Swift
public class GenericRouteShield : StylableView
-
See moreStepsViewControllerDelegate
provides methods for user interactions in aStepsViewController
.Declaration
Swift
public protocol StepsViewControllerDelegate : AnyObject
-
A user interface element designed to display the estimated arrival time, distance, and time remaining, as well as give the user a control the cancel the navigation session.
See moreDeclaration
Swift
@IBDesignable open class BottomBannerViewController : UIViewController, NavigationComponent
-
See moreBottomBannerViewControllerDelegate
provides a method for reacting to the user tapping on the “cancel” button in theBottomBannerViewController
.Declaration
Swift
public protocol BottomBannerViewControllerDelegate : AnyObject